// 数据模型
const mongoose = require("mongoose");
const Schema = mongoose.Schema;

const profileSchema = new Schema({
  type: {
    type: String,
    required: true,
  },
  describe: {
    type: String,
    required: true,
  },
  income: {
    type: String,
    required: true,
  },
  expend: {
    type: String,
    required: true,
  },
  cash: {
    type: String,
    required: true,
  },
  remark: {
    type: String,
    required: true,
  },
});
module.exports = Profile = mongoose.model("profile", profileSchema);
